/*
 * @Author: liuxiao
 * @Date: 2023-09-04 01:46:38
 * @Last Modified by: liuxiao
 * @Last Modified time: 2023-09-04 01:53:52
 * @ps: 封装本地存储数据与读取数据方法
 */
//存储数据
export const SET_TOKEN = (token: string) => {
  localStorage.setItem('TOKEN', token)
}

//本地删除数据
export const GET_TOKEN = () => {
  return localStorage.getItem('TOKEN')
}

//本地存储数据删除的方法
export const REMOVE_TOKEN = () => {
  localStorage.removeItem('TOKEN')
}
